<?php
include_once('../bootstrap.php');
$imagen = Doctrine::getTable('imagen')->find($_POST['id']);
$imagen->caption = utf8_decode($_POST['caption']);
$imagen->save();
?>
